package com.niuwa.p2p.dao.claimtransfer;

import java.util.List;

import com.niuwa.p2p.dao.MyBatisDao;
import com.niuwa.p2p.entity.claimtransfer.TransferRecord;

@MyBatisDao
public interface TransferRecordDao {
    int deleteByPrimaryKey(Long id);

    int insert(TransferRecord record);
    
    /**
     * 根据产品编号查询相关的转让记录
     * @param projectNo
     * @return
     */
    List<TransferRecord> selectTransferRecordByProdCode(String prodCode);

    int insertSelective(TransferRecord record);

    TransferRecord selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(TransferRecord record);

    int updateByPrimaryKey(TransferRecord record);
}